//
//  AppDelegate.swift
//  WeiBo
//
//  Created by 姜伦 on 17/1/9.
//  Copyright © 2017年 DjangoGG. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        setupAppearence()
        
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        window?.rootViewController = MainViewController()
        
        window?.makeKeyAndVisible()
        
        return true
    }

    private func setupAppearence() {
        UINavigationBar.appearance().tintColor = WBAppearenceTintColor
        UITabBar.appearance().tintColor = WBAppearenceTintColor
    }


}

